﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
			<meta charset="utf-8">
			<meta http-equiv="X-UA-Compatible" content="IE=edge">
			<title>红点e贷服务管理系统</title>
			<jsp:include page="../../../global/assets_common.jsp" />
			<script type="text/javascript" charset="utf-8" src="${basePath}/framework/kindeditor/kindeditor-min.js"></script>      
			<script type="text/javascript"  charset="utf-8" src="${basePath}/framework/kindeditor/lang/zh_CN.js"></script>  
	<style type="text/css">
		.input-group .form-control{
			z-index:0;
		}
		.input-group {
		 margin: 1px 0px;
		 width: 300px;
		 float:left;
		}
		body{
			font-size: 10px;
		}
		.ui-widget-header{
			border: none;
			
		}
		#dialog_update .input-group-addon {
		 width: 104px;
		}
		#dialog_insert .input-group-addon {
		 width: 104px;
		}
		#dialog_search .input-group-addon {
		 width: 104px;
		}
		</style>
</head>
	<body>
		<div id="toolbar" class="ui-widget-header ui-corner-all">
		<button id="btu_search">搜索</button>
		<button id="btu_insert">新增</button>
		<button id="btu_update">修改</button>
	</div>
	<div>
		<table id="jqGrid"></table>
		<div id="jqGridPager"></div>
	</div>
		<!--提示框 开始-->
		<div id="dialog_alert" title="提示" class="ui-helper-hidden"></div>
		<!--提示框结束-->
		<!--搜索模态框 开始-->
	<div id="dialog_search" title="查询搜索" class="ui-helper-hidden">
		<form class="form-inline" id="search_form">
			<div class="input-group input-group-sm">
				<span class="input-group-addon">开始录入日期:</span>
				<input type="text" id="s_minlrrq" name="startDate" class="form-control" readonly="readonly"/>
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">结束录入日期:</span>
				<input type="text" id="s_maxlrrq" name="endDate" class="form-control" readonly="readonly"/>
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">商品名称:</span>
				<input type="text" id="s_spmc" name="proName" class="form-control" autofocus="autofocus"/>
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">商品编码:</span>
				<input type="text" id="s_spbm" name="proCode" class="form-control"/>
			</div>
		</form>
	</div>
	<!--搜索模态框 结束-->
	<!--新增模态框 开始-->
	<div id="dialog_insert" title="新增商品" class="ui-helper-hidden">
		<form class="form" id="form_insert">
					<div class="input-group input-group-sm">
						<span class="input-group-addon">商品名称:<span class="required">*</span></span>
						<input type="text" id="i_product_name" name="spmc" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">商品编码:<span class="required">*</span></span>
						<input type="text" id="i_product_code" name="spbh" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">单价(点券):<span class="required">*</span></span>
						<input type="text" id="i_product_dj_je" name="djje" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">规格:<span class="required">*</span></span>
						<input type="text" id="i_product_zl" name="spgg" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">库存数量:<span class="required">*</span></span>
						<input type="text" id="i_product_kc_num" name="kcsl" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">可用数量:<span class="required">*</span></span>
						<input type="text" id="i_product_ky_num" name="kysl" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">排序:<span class="required">*</span></span>
						<input type="text" id="i_product_sort_num" name="px" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">详情页图片数量:<span class="required">*</span></span>
						<input type="text" id="i_product_sort_sl" name="picsl" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">录入时间:<span class="required">*</span></span>
						<input type="text" id="i_product_lr_date"  name="lrsj" class="form-control " readonly="readonly">
				</div>
	            <div class="input-group input-group-sm" style="width: 600px;">
						<span class="input-group-addon">标题抬头图:<span class="required">*</span></span>
		      	 	  <textarea  id="i_product_pich" name="pich" style="width:100%;height:300px;"></textarea>  
				</div>
				 <div class="input-group input-group-sm" style="width: 600px;">
						<span class="input-group-addon">详情页图片:<span class="required">*</span></span>
		      	 	  <textarea  id="i_product_pic" name="pic" style="width:100%;height:300px;"></textarea>  
				</div> 
		</form>
	</div>
	<!--新增模态框 结束-->
	<!--修改模态框 开始-->
	<div id="dialog_update" title="修改信息" class="ui-helper-hidden">
		<form class="form" id="form_update">
				<div class="input-group input-group-sm">
						<span class="input-group-addon">商品名称:<span class="required">*</span></span>
						<input type="text" id="u_product_name" name="spmc" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">商品编码:<span class="required">*</span></span>
						<input type="text" id="u_product_code" name="spbh" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">单价(点券):<span class="required">*</span></span>
						<input type="text" id="u_product_dj_je" name="djje" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">规格:<span class="required">*</span></span>
						<input type="text" id="u_product_zl" name="spgg" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">库存数量:<span class="required">*</span></span>
						<input type="text" id="u_product_kc_num" name="kcsl" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">可用数量:<span class="required">*</span></span>
						<input type="text" id="u_product_ky_num" name="kysl" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">排序:<span class="required">*</span></span>
						<input type="text" id="u_product_sort_num" name="px" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">详情页图片数量:<span class="required">*</span></span>
						<input type="text" id="u_product_sort_sl" name="picsl" class="form-control">
				</div>
				<div class="input-group input-group-sm">
						<span class="input-group-addon">录入时间:<span class="required">*</span></span>
						<input type="text" id="u_product_lr_date"  name="lrsj" class="form-control " readonly="readonly">
				</div>
				  <div class="input-group input-group-sm" style="width: 600px;">
						<span class="input-group-addon">标题抬头图:<span class="required">*</span></span>
		      	 	  <textarea  id="u_product_pich" name="pich" style="width:100%;height:100px;"></textarea>  
				</div>
				 <div class="input-group input-group-sm" style="width: 600px;">
						<span class="input-group-addon">详情页图片:<span class="required">*</span></span>
		      	 	  <textarea  id="u_product_pic" name="pic" style="width:100%;height:100px;"></textarea>  
				</div> 
			<input type="hidden" id="u_id" name="id1">
		</form>
	</div>
	<!--修改模态框 结束-->
	
</body>
<script src="${basePath}/global/js/assets/p2p.dqsc.product.js"></script>
</html>